package com.link.base.base.passwdhistory.dao.mybatis.mapper;


import com.link.base.base.passwdhistory.model.PasswdHistory;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 密码历史记录
 */
public interface PasswdHistoryMapper extends BasicMapper<PasswdHistory> {

    /**
     * 根据用户姓名获取密码历史表
     *
     * @param passwdHistory 密码历史记录
     * @return 密码历史表
     * @throws Exception
     */
    List<PasswdHistory> queryByUsername(PasswdHistory passwdHistory) throws Exception;
}
